﻿# Called from code after history generation

on_game_start_after_lobby = {
	on_actions = {
		historical_figure_on_game_start_after_lobby
	}
}

historical_figure_on_game_start_after_lobby = {
	effect = {
		historical_figure_initialize_all_effect = yes
	}
}


# Called every Jan 1st

yearly_global_pulse = {
	on_actions = {
		historical_figure_yearly_global_pulse
	}
}

historical_figure_yearly_global_pulse = {
	effect = {
		random_living_character = {
			historical_figure_check_change_first_name_all_effect = yes
		}
	}
}


# Called on death

on_death = {
	on_actions = {
		historical_figure_on_death
	}
}

historical_figure_on_death = {
	effect = {
		historical_figure_on_death_effect = yes
	}
}
